|
Managed Extensibility Framework (MEF) is a component of .NET Framework 4.0 aiming to create lightweight, extensible applications. It aims to allow .NET application developers to discover and use extensions with no configuration required. It also aims to let extension developers encapsulate code easily and avoid fragile hard dependencies. Furthermore, it aims to allow extensions to be reused across applications. MEF was introduced as a part of .NET 4.0 and Silverlight 4. Unsupported, pre-release versions of MEF are also available on CodePlex along with source code and can be used, albeit unsupported and with limitations, on version 3.5 of the framework. ==What problems does MEF aim to solve?== MEF aims to solve the runtime extensibility problem. Without MEF, any application that wants to support a plugin model needs to create its own infrastructure from scratch. Those plugins will often be application-specific and cannot be reused across multiple implementations. * MEF aims to provide a standard way for the host application to expose itself and consume external extensions. Extensions, by their nature, could be reused amongst different applications. However, an extension can still be implemented in a way that is application-specific. Extensions themselves can depend on one another and MEF aims to make sure they are wired together in the correct order, sparing the developer from doing it manually. * MEF offers a set of discovery approaches for the application to locate and load available extensions. * MEF allows tagging extensions with additional metadata which aims to facilitate rich querying and filtering. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Managed Extensibility Framework」の詳細全文を読む スポンサード リンク
|